﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace HongStone.Domain.AttendanceManagement
{
    /// <summary>
    /// 补助表
    /// </summary>
    [Table("DepartmentSubsidy")]
    public class DepartmentSubsidy
    {
        /// <summary>
        /// 补助Id
        /// </summary>
        [Key]
        public int SubsidyId { get; set; }
        /// <summary>
        /// 姓名
        /// </summary>
        public int PzName {get;set;}
        /// <summary>
        /// 月工资
        /// </summary>
        public decimal PMonthlyWages { get; set; }
        /// <summary>
        /// 请假
        /// </summary>
        public decimal PLeave { get; set; }
        /// <summary>
        /// 迟到
        /// </summary>
        public int PBeLate { get; set; }
        /// <summary>
        /// 加班
        /// </summary>
        public decimal POvertime { get; set; }
        /// <summary>
        /// 系数
        /// </summary>
        public decimal PCoefficient { get; set; }
        /// <summary>
        /// 计算额
        /// </summary>
        public int PCalculateMoney { get; set; }
        /// <summary>
        /// 调配额
        /// </summary>
        public decimal TheQuota { get; set; }
        /// <summary>
        /// 调整状态
        /// </summary>
        public int PState { get; set; }
        /// <summary>
        /// 部门Id
        /// </summary>
        public int PDepartment { get; set; }

        public int PzRank { get; set; }

        /// <summary>
        /// 添加时间
        /// </summary>
        public DateTime PDateTimes { get; set; } = DateTime.Now;
    }
}
